﻿using System;
using System.Collections;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace Great_Eggspectations.Utilities
{
    public static class Constants
    {
        public enum PartnersSortField { Name, Address, TransactionLoc, Balance }
        public enum TransactionsSortField { Date, Partner, Product, Quantity, Payment }
        public enum ProductsSortField { Name, UnitPrice }

        public static IEnumerable GetStates()
        {
            return new[] {
                new { Name = "Alabama", Value = "AL" },
                new { Name = "Georgia", Value = "GA" },
                new { Name = "Kentucky", Value = "KY" },
                new { Name = "North Carolina", Value = "NC" },
                new { Name = "Tennessee", Value = "TN" },
                new { Name = "Virginia", Value = "VA" }
            };
        }
    }
}